Added approx_proj.m and a demo