Added perf_counter.h, updated code to use custom performance calls. Currently calls are only implemented for MSVC, will be expanded on in the future.