replace all $$ with eqn envir. to enable numbering

ran a vim macro to create proper equation environments for all equations that need numbering (e.g. not inline equations)