Fixed spike detect equation