Removed template for points..Always 1D function..