Made lines shorter, switched out $$ for equation* environment.