added plot functions, improved gridding, summary function, and bug fixed