Added temporal mapping. May be flawed due to zero crossing potential flaws.