Hi,
I believe I would be able to finish your application. I am both a Ruby on Rails and math expert, graduating with a degree in Mathematics with Computer Science.
I can get a demo of the code in 3 days,
then building the full website using Rails would take another few (5-10) days to add in all the features.
Let me know if this is something you are interested in doing.