There are a couple of general issues which arose during implementation not relevant to the algorithms themselves and independent of any chosen implementation language.