BSAR Matlab Implementation