redo parameters so that thickness/interface/magnetism are handled by Layer