Argh I can't seem to find the data to drop the price from selling a mastered materia.

I know that it cost 70 times as much as when you bought the materia.

Does anyoen know the formula for selling materias, so that my search for it is easier. And where the location of the data might be at?