fixed warnings (clang 3.4)
fixed warnings, bugfixes: vtable override in array (memcpy), some virtual destructors were missing
fixed warning (%le is non-standard C++)
fixed gcc typedef error in statistic because, fixed warnings (unused local typedefs)