Since all code seems to be done in english, please change moyX to meanX, same for Y and Z.