The actual working code

Code works as a function but needs to be made into a module.  It also
needs to be made robust by using two-sum and robust-determinant-3.