A nano-scale theoretical model of the myosin head mechanics