ready to implement reshape2
simplified summary function and updated documentation
added type_totals and updated sum_type docs
new select_value function to select col by name or attr type