making n_eqs a template parameter (will be needed for per-eq opts)
new API - almost done (shallow_water and bcbf tests still not converted)