A Residual Variance Matching Recursive Least Squares Filter for Real-time UAV Terrain Following