Wrapper for MADlib logistic function is functional now

* Other minor changes to improve result display

* Added several small utility functions