update PPlinesG
add @export for glo.fit
added @export to glo.fit and roxygenised it