calculate c1
si3_rest and si4_rest
fix position counter bug
Merge pull request #1 from musalbas/master

Implement si3_rest, si4_rest, c1