Fixed bug where "dimension (:,:)" wasn't recognised because of space between word and parentheses