added a print function. This lets pretty print of fitted objects
added doc of print function