A numerical routine for the crossed vertex diagram with a massive-particle loop