Add pointer in Weighting point

TODO :
a file to test Weighting point and to check if there is some lack of
memory
change static variable in pointer in the Mask and SymmetricMask