Added indices2Coords.m into the main repo

Franco mentioned that there was a noticeable issue that indices2Coords, a function that had previously been deprecated, was still being used. Until we move forward with a replacement for this function, I have added it back in to ensure the functionality will work correctly.