Small-computer procedure for optimal filtering of haemodynamic data