add gitignore
fix returning isnan scaleForDb value