Make Modulus projection accept a mask for the good pixels