how do i cause a segfault? easy
stop point
handle nans due to no variation, working now