Updating simplematrix with ideas (very messy)