HSWCA cell lists

Replaces PR #61.
There are more tests now.
Some index and double value issues are solved.