Flexible sensors for minimally invasive medical instruments by