Added grid rotation to constructor