added get-nearest-scale-degree to pitch.clj
fixed bugs in stepwise motion