3d src and examples

3d source has been reordered, uses modules, and generally brought up to date (but flagging routines not changed yet). Five  examples from 4.3 were converted to use python/setrun.py form, but uses matlab graphics.

Ready for others to try.