migrated most types to a settable typedef, implemented LU decomposition.
added LU decomposition test