fixed bug with image order, sigmaster notation generation now functional.