Added plotting functionality to tables. Minor changes.