Added heuristic calc, piece placement, assorted others