Added Variance, residual array is weird :/