Added fix for yale matrix inject behaviour