Modified all headers to include extern C, added performance tests