sdfa
added inparameter bwimage to staffDivision + removed unused code