The movie is about a brilliant mathematician that is attempting to find patterns in everyday life, yet more specifically, the stock market....because people can predict patterns, if he can find it, he will be able to predict the movement of the stocks. The thing is, the stock market is a 'living' thing so in his quest he secretly uncovers the underlying pattern to all of life, thus the true face of god. Oh yeah, and in the meantime, he goes insane. Whack indeed. Killer ending.
Sorry If I ruined the movie for some.