fixed ridiculous repmat crap in _dy