Added methods for removing NaNs from dataset