Update improved_k_Ary

Precomputation speed-up -> reduced size of LUT