Move profiling code to testbed, remove dependency

Hi,

the library project had a dependency on commons-math due to the profiling code residing in src/main/java. I moved the profiling code over to the testbed and removed the dependency in the library project's pom.xml.

Keep up the good work,
Mario