Added choice for 3D or scalar loading of volumes.