Furtehr fixes .. now no NaNs but result incorrect