Effective algorithm for optimizing compressive sensing in IoT and periodic monitoring applications. (15th January 2019)