Add stride argument to generic matrix create cmd