begintemplate RandomStream
public r, repick, start
objref r
proc init() {
	stream = $1
	r = new Random()
	start()
}
func start() {
	return r.normal(0, 1)
}
func repick() {
	return r.repick()
}
endtemplate RandomStream