Vector and scalar projection