Fix SFR array offset

added sfrtest.py program