Creating Masks and Applying them to Neuroimaging Data in Matlab