Fixed matrix not returning anything;