Allocates one matrix for JxF