updated tuning, added display tool for visualizing lagrange vs linear