Structure formation from power law (and extended) inflation