Updated documentation, added stabilization state feature.
Added makefiles
Cleaned formatting