MATLAB Scripts used to Create Pinnacle Fields