Added simple matrix multiplication
Added grid rotation