Updated documentation
Added shortcut typedef for scalar type
Added test for Gauss Newton