initial branch

changes that make R chart and newdata partially work. Still issues with
coloring and finding variables.