Calculation of Bohmian quantum trajectories for STEM