Function to calculate steps per octave- LG

Signed-off-by: Lindsey <glickfeld@neuro.duke.edu>