mod_coordsAndSteps.c: change to pass pointer of struct coordsAndSteps

Change not to malloc() and return it.