Add mask on matrix inputs