calcAlphaBeta() running successfully