Exposed measurement and process noise parameters, changed projection calculation to double to avoid numeric effects (this is very inexpensive as its just one or two double multiplications, compared with the cost of the double-precision cos() call that was already in place)