Expanded on the solveAxb() routine. Does not compile! Multiple memory issues/leaks