Addressing Three Problems In Embedded Systems Via Compressive Sensing Based Methods