added minimum scalar product example