change integer arguments to setAngles to be doubles