Performance improvement of alpha_composite function

I rewrite this function using integers only. Performance boost is about 6 times on my cpu.

This implementation is also very accurate, comparable with previous float-based implementation.