Computation Of The Response Of Thin Piezoelectric Films