make lomb scargle work with scalar dy