Final solution to inverse matrix problem.
Signed-off-by: bwdeleeuw <barteldeleeuw@gmail.com>