Adding MG_CONNECTED to determine if IDL has a net connection.
Testing MGanRandom results.
Adding test for MG_HIST_ND. Can't explain weighted result yet.