start of handling of nans in prim

init box and peel now ignore nans, this is only a partial solution

fundamental problem is lack of clear support in numpy for nans. possible
option that should be explored in the use of a mask