Added statistics to twolevel_model_building code.

Removed commented LSQ12 code.

Includes necessary change to resampleToCommon so that the code takes either an array or a comma delimited string, similar to setupBlurs in the stats module.
Merge branch 'mbm-redesign'
Merge branch 'master' of github.com:mfriedel/pydpiper