Power calculations added.