A local point interpolation method (LPIM) for static and dynamic analysis of thin beams