fixes figure saving

figures now save to the figures folder, moves images