Added S4 documentation (fixes #28) and a minor change to plot function to allow someone to add their own x and ylabs.