Progress! Fits to real beam in python, no matlab.