Switched getpart function result from matrix to doulbe**