fixed a bug in the BCa alpha calculations