added method to reset the matrix transformations