Renamed mu to mi
Changed random reinitailization to happen conditionally.
Removed tools.log as it rendered useless