Make sure old data does not affect matrix calculation.