Update srf3.py

edited prg to remove errors and extra lines that are not needed