Basic Matrix update.
Need to fix duplicates.