fixed stage axes issue (I think), should be good to continue on to the acutal algorithm now