New test version of vectorOperations with invmass