Changes for KL and cpw

Added set/add for KL

Added perdition calculator for cpw