Modeling and simulation of ultrasound fields generated by 2D phased array transducers for medical applications