Chemsmoke rewrite

Rewrote chemsmoke. It is now smoother, calculates faster and is self-balancing.

Details in the commits and written into the code itself.

Travis build will probably fail until #4464 is merged.