Maximum likelihood tuning of a vehicle motion filter