The effect of cooling rate on the glass transition of an amorphous polymer