add performance test tool and change the ScalarMult to use unsafe code for much better performance (x5)