Quick fix for some problems I had while profiling some slow functions. Casting division to long instead of int, also added test cases.
First commit has a failing test case. Second commit has my fix.
added failing test case for c.c.profile when profile data has values …
…larger than ints
fixed problems with c.c.profile not handling numbers langer than java…