Fixed alpha calculation.