double computeMatrix(double *matrix, int n); double computePiSerial(int n); void initMatrix(double **matrix, int n);