Speaking as a freelancer myself, I would be kicking myself if I were in your shoes, but I think its a bit tasteless to go back and ask for royalties now. I'd keep this option in mind for similar systems you plan on building (or if you sell the system to someone else and make it a subscription platform.)