Bug-fix

Fixed bug with calculation in getAlphaBeta(); wrong indexing in
mulitplication of max and vec