Analysis of a SOA Based All-Optical Reshaper