Fixed bugs on NCS statistical significance and categorical computations