updated documentation
added basic plot function