Fix miscellaneous errors. Add signs and signRanks statistics.