More work on policy. Added metaparams to trainer.
Bugfix to covariance calculation.