Fixed bug in calculation of residual covariance
Implemented residual covariance for spike counts of entire trial