sun to vector calc sample added