Added sensor enable and disable functions