Fixed spacing issues on comments, tested in R - working fine
had to remind myself inverse is calc'd by (ad - bc) * [d, -b],[-c, a]
(matrix row first basis)