Structure flipping now occurs after pasting so the next placement will have accurate measurements. Closes issue #6