[QRS detection] Start implementing QRS detection algorithm

* Change:
  - Implemented functions for mean calculating,
    substraction const value from vector and differential
    calculation.

Signed-off-by: Dusan Kostic <kostic.dusan1990@gmail.com>