Update Mixin+sensor.c

adding captor function improvements