apply mask in correlation matrix