Nice work! Looks pretty good at first glance. One suggestion that might help with the simplicity to readers is that you have a lot of nice clearly worded variables and then quite a few one letter variables. Maybe renaming some of those variable with more meaningful names might help with clarity for the reader.