Adds validity checking to macro parsing process

Updates README