Characteristic polynomial of matroids