added codes to calculate antenna pattern function
rename module name