[CALIBRATOR] Moved debug prints to standard error
[CALIBRATOR] Bugfix for 32bits-arch

Changed `size_t' to `std::uint64_t'.