file does not work

attempted to fix the Pelev calculations but positive feedback screws up
whole calculation