allow for modes with/without stdev
general tidying, add command line options and usage message
Merge pull request #7 from srl147/norm_fit

Norm fit