Physics-Based Machine Learning Methods For Control And Sensing In Fish-Like Robots