How To Use Matrix In Python