direction (vector) loops in eval_piece()

code is shorter and easier to maintain
Merge pull request #1 from nescitus/master

direction (vector) loops in eval_piece()