Simulation of incoherent bremsstrahlung of high energy electrons and positrons in a crystal