implemented ranked based AS.

Also changed one value in FirstAco from 1 to 1.0