Gravar-mail: BioPatRec: A modular research platform for the control of artificial limbs based on pattern recognition algorithms