I have chosen to keep notation consistent with R. Beard's literature. I prefer a uniform notation, as it makes it easier to follow the code when the two are side by side.