A SPICE Compatible PEEC Model with Curvilinear RWG Basis Functions for Electromagnetic Simulation of Lossy Flex Circuit