Added FiniteElement class