SPOcalc for calculating SPO given min/max/steps

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