intermediate step, adding VecGetArrays to Medium constructor to prepare for reading from text file