Change FI function parameters.
Add `split` helper function.
Fix `FI` function.
Implement key schedule.