removed fixmatrixadditions
added more function attributes
applied function attributes where possible
added gravity constant estimation example