make normalization happen in place
ignore mat files