add mask.h

add mask.h, begin to try phase retrieval