Basic discretization implemented (precision not customizable by user).