Changed name of residual variance to reduced chi squared and added documentation about this.