calcTargets works for rooms and doorways. Working on tests.