minor perf improvements

- use template to get rid of if/else on chance.
- enable look up tables for knight and king move generation.
- < 5% perf gain :-/