adding proper matrix files