Applications of ATILA FEM Software to Smart Materials: Case Studies In Designing Devices