bugfix; compute and V and Vinv