Some bug hunting

* Assertions are back for integral single row problems
* Corrected a corner case in the single row problem
* Use center positions consistently in the rough legalizer
Bug correction

* Cost estimation was faulty due to swapped statements
* Better cost calculation for y-displacement in the legalizer
     Was done only relative to the target row, not relative to the true
target position of the cell