The twisted string vertex algorithm applied to the Z2-twisted scalar string four vertex