Use of edge-based finite elements for solving three dimensional scattering problems