An Efficient Collocation Method for a Class of Boundary Value Problems Arising in Mathematical Physics and Geometry