Fixing stupid error in board distance function
New static evaluation function