fixed pointer arithmetic. now produces non-statistically correct white noise as it should