Fixed matrix generators into a separate file
Added MakeTempFile