Added test with erf
Deleted old code