Removed extra bracket in calculate_move_vector function.