Calculate features in board state