everything working, think plot_deform only plots 2d