Add scalar methods.

I added convenient methods to add scalar and multiply by scalars. This is my first open source commit and pull request so if I made some mistakes, please tell me kindly.