Singular Control of (Reflected) Brownian Motion: A Computational Method Suitable for Queueing Applications