alternative implementation of mk_evar that keeps naive_solver working Closes #115 See merge request !299