Calculates the 2-D array coordinates from the corresponding list index passed in. Relies on grid width to calculate coordinates. Does not check against grid size constraints.
can be used to get the correct index from coordinates passed in. Will only calculate the index, not take into consideration any grid size constraints etc.