getDimensions function

Get Dimensions from a Neuroimaging File