cleaned up some functions, removed unused code, added comments. Added code to step interpolation function (and its initialization), ready for testing on hackerspace array