Modified help string and modified the function to that it only returns [X,G].
added gitignore
Created the first version of fitlinreg.m
Added credits to varargin trick