added more attribute selection bits
-c index was left out when parsing command-line parameters
renamed method in arrays module
added attribute selection