The Weight Distribution of the Third-Order Reed-Muller Code of Length 512