plotting cov matrix + better periodic hparams