Added method to plot csp patterns.
Cleanup
Polish.