New functions added pfem1d library