add_options

Added the option for column or row percentages. For clarity got rid of
all the trim(left()) and replaced with strip()