Tannersfriend: But doing all this on your iPhone will demand a lot of CPU power, and even more important: Would'nd all this background calculations drag down the battery life?
I usually don't connect any Apple dots, but this one seems pretty intriguing.