Reversed the direction of the loops in ioripple to better match the original code; added selfie ripple