reverse rsinusoid