Minor syntax changes, using math.exp to get euler constant
localized table.insert
Added randomReal and localized a few things
Added getRandom, getRandomAssoc, random, split, join; also localisation