Removed the beta = -pi/2 checks, as beta is between 0 and pi.
Authored by: bugman 2009-12-09
Parent: [r10076]
Child: [r10078]