some change

some change  on code to calculate the v  k  d
2012-12-14 backup

commit to  dr lee