cleaned up helper functions, rm'd the last of quarr, implemented summary for QuArray