scale(vector) {
        let a = this.elements;

        a[0] *= vector.x;
        a[1] *= vector.x;
        a[2] *= vector.x;
        a[3] *= vector.x;
        a[4] *= vector.y;
        a[5] *= vector.y;
        a[6] *= vector.y;
        a[7] *= vector.y;
        a[8] *= vector.z;
        a[9] *= vector.z;
        a[10] *= vector.z;
        a[11] *= vector.z;

        return this;
    }
Simple Mat4 scaling helper

     params :
     @vector (Vec3 class object): Vec3 representing scale along X, Y and Z axis

     returns :
     @result (Mat4 class object): Mat4 after scaling
*