cleaned up, phase map vi working again
added cropping and masking