added improvements to c code
Merge branch 'master' of github.com:PSFCPlasmaTools/eqtools

kay