added resample to CPRVolumeData
re-wrote functions to go back and forth between masks and volumeData
Removed calls to deprecated functions