v0.1 fixed rotation, spin orbit set to 0
v1.0 fixed rotation and made it into separate function