ode tests added
Added dimension detection and checking for beta