added structural diagrams; fixed polygon width/scaling
implemented layer shuffling