Fix 'The truth value of an array' error
Merge pull request #7 from gwtaylor/symbolicfix

Fix 'The truth value of an array' error