Better R -> Gaussian translation, using a more generic approach
Some basic bounds checking