Implemented more BMI functions for CEM.
Code clean-up.
Code clean-up.
Define global variables.
Merge branch 'master' of github.com:plimber/cem

Conflicts:
	consts.h
	globals.h
Added some SWAN variables.
Fixed missing semicolons.