AM sample range

Added functionality to specify the sampling range of the generating function.

Signed-off-by: Bennie Leonard <bennie.leonard@gmail.com>