New example added. Offset error fixed when multiple dofs are used.