step functions for Euler Maruyama