Improved (complicated) sample point creator; input arguments.