now taking subject into account for calculating the stdv
fixes #9

Signed-off-by: Mohamad Ahmadi <mohamadhasan.ahmadi@gmail.com>