trying to improve rand function using guassrand

Signed-off-by: Alexander Skjolden <alex@plastboks.net>