Active Flat Optics Wavefront Manipulation for Imaging, Ranging, and Sensing