Using Domain Knowledge with Deep Learning to Solve Applied Inverse Problems