added deconvolve, and plotting 3d models