Build-in sensors and analysis algorithms aided smartphone-based sensors for point-of-care tests