Very cool! Thanks for sharing your solution. I thought your question was an interesting one, but I felt I couldn't offer any advice since it was such a domain-specific question.
Since you solved your question, could you please choose your response as the solution?