added plotting output
Merge branch 'master' of https://github.com/ijiraq/MOP
split into a package
modified to use package structure