Cov and Prof working

While there are a few issues, the bulk
of the code should be working