Removed all references to deprecated Analysis class from lancext
Fixed Pyflake warnings