Added array min/max methods.  Minor refactoring of some interediate variable declarations.
Added array min/max methods.  Minor refactoring of some interediate variable declarations.

harbulot/jqplot,harbulot/jqplot,harbulot/jqplot