HP memristor: analysis, dynamics and analogue circuits