Use totaln rather than n in intersec.  Resolves issue #103.