Refactor HyperRectangleGrid coordinates to index method to support an arbitrary number of dimensions
Refactor HyperRectangleGrid coordinates to index method to support an arbitrary number of dimensions: a task in lifesci-drug-discovery-swe-envs-nocap (Harbor dataset). Title: Refactor HyperRectangleGrid coordinates to index method to support an arbitrary number of dimensions
The task
**Title:** Refactor _HyperRectangleGrid coordinates_to_index method to support an arbitrary number of dimensions