Added Rand type alias, unit, map, and doublesViaMap