started new feature: save generated trial data as files.
first working copy - results seem strange
added validation check between psim and new functions - agree on nonrandom algorithms perfectly
added simple data plot, needs to include control yet!