Added vector calculations

Hi!