Can now deal scan and parse terms with multiple factors (i.e. 2y'y'' etc)