Update kl_transform.cpp