Made timer measurement more precise by replacing time() with microtime(true)