Deterministic Sampling Using Neuronal Networks