Added more advanced input handling including value smoothing and tolerance update.  Debug draw updated to show values