Create kd_demo.m