rewriting mvncdf and adding copyright/license headers