On-line input identification and application to Active Noise Cancellation