Improved meshless method using direct shape function for computational electromagnetics