Removed compilation warning, and bad defined assert (sanity check) when using 0 in randomize weights