Added missing 'sum' methods to NMath, made ImageFrame resizable.