fixed bug in rake calculations
added some tests for projections.py