added lower/upper to pymstat; sketched out pymhist