A General Boundary Control Method Based on FEM for Boundary Identification in a Multi-Layer Heat Conduction