Stochastic Filtering by Projection - The Example of the Quadratic Sensor