Update to vector profiling.
Fixed compilation warnings from type conversions in error logging.
Fixed compilation warnings in sub method calls for vector searching.
Updated safemem.
Added macros for calling sorting methods which perform typecasts prior to method calls.
Update to vector tests.