Costa claims second stage win