ncm-cdispd code cleanup

Work in progress related to #8...

Discussion on cleanup goals is better placed in #8.
should end with `1;` and a unittest should have failed for not having this.