Use matrix library functions now to rotate