Add transformBy3 function.
Add benchmark script.