added ramping non-linearities and statistics