Reformated to make more similar to Dendritic version. All definitions in one cell, added load and save parameter file functions, etc.
No major changes, just committing again to be sure this version is up to date.