changed periodic func in Moperator to automatically compute periodic from N and k instead of from BCPeriod, haven't removed BCPeriod yet