Cleaned up old, out dated import code for packages that are now required.
Removed a small amount of unnecessary compatability code for slogdet