Added profiling wrapper (see: http://docs.python.org/2/library/profile.html#profile.Profile)