Added the inverse parameter to splitVH as done by Alessandro.