fix indexes for getting second most significant
change number of steps for log
oops, now change number of steps for log1d
added a loop orbit check
remove extra imports
fixed important log level
minus sign
fix shape of true freqs
add command line option support svvvv