completed calc MRSP
-bugfixes step_function,ssp,asp