matrix tweaks