computeBeta fixed