Added matrix as string input to distMatProcessor