Brownian Dynamics Simulation Of Soft Matter With Hydrodynamics: Methods For Constrained Systems And Shear Processing Of 2D Materials