Performs the given rotation on this matrix such that, if this matrix is H, the result is RH.
@param rad The amount to rotate.
@param type The direction to rotate.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.