completed assignment

rewrote and tested exemplary functions (from vector ~ mean) to
invertible matrix ~ inverse…two tests, 2x2 and 3x3; then added comments