Added tests for estimation routines.
Moved much of the runner script to dedicated functions in estimation.
Fixed bug in selection of nn numbers - had these the wrong way round.
Added plotting routines.
SO WHY THE **** IS IT *STILL* NOT WORKING?