Visualization method

-New class method for visualization of data
-Minor bug fixes
-Example code