+formula fix: theta in fn:toAngles