Updated the related functions to have insert sensor module functionality, but the sensor module has to have the same dimension with ordinary SMORES module