Expose alpha and beta arguments of cublasSgemm

This exposes the `alpha` and `beta` arguments of `cublasSgemm` (the dot product routine) whereever possible. This allows, for example, to update the velocity term of a weight matrix learned with momentum in a single `cudamat.dot()` call. It also allows for an efficient computation of the mean of a matrix along an axis, added for convenience.