changed point representation and changed y to z axis