Fixed some issues with structural alignment proposals, and incorporated
some efficiency modifications (updating cached vectors only within
windows).

Currently the lower information is tested and correct, but the upper
structural information is not fully tested.