Variable size matrix created