Updated formatter with better Object[] handling. and better method and t...

Updated formatter with better Object[] handling. and better method and template handling.  Also better handling of Ncube types.