Applications of the modified Trefftz method for the Laplace equation