matrixes homework with renderscript