Made functions to work with diffirent steps. Honestly, only fi and dfdui, the
rest work like dy/dx. I'll fix it.