Correct replication of DesiredHeadRotation and calculation of lazer length