fix bug in MWV parsing and add regression tests.
add d3 as global lib
calculate true wind and vmg