lcg48 refactor
Refactor of functions related to LCG pseudorandom number generation.
Most significantly, pointer arguments are now converted to references rather than the other way around. This has allowed two of the helper functions to become non-unsafe
.
In addition, variable naming has been adjusted to align better with the POSIX spec and with Rust types.