fix sample pattern
set end of line to Windows style
fix element pattern
fix element's mass computation