New versions of get_results functions

Added more metrics, fixed some bugs and made more robust.