apply mask in coorelation matrix