Addressed various issues with Transform

This fixes a number of small issues, including Curse having specialised
code as well as Transform not taking account of stats and gender
properly. This fixes #8.