Matrix & Vector support?

So I'm using RPGMaker and my little project to learn a lot of coding, and I've wound up working on a collision system to use for combat... Long story short, I'm wondering if there's a way to add/access Ruby's Matrix.rb and/or Vector.rb files to the game somehow. From the best of my understanding, VXAce runs on ruby 1.9.2 and does not have the matrix.rb or vector.rb libraries included (correct me if I'm wrong, trying to figure this out is a bit over my head atm).

So is it possible to legally download rubies matrix files and somehow have access to them in RPGMaker? And if so, how?

Edit: Solved. For anyone who runs into the same problem/question; check ruby's official site and look for download mirrors, one of them has the 1.9.2 version of Ruby that RPGMaker's scripts are based on. Then just poke through there for whichever library, and copypaste into your game projects folder (i.e. C:\RPGMaker\MyGame\). Then script in
 

Code:
#Example: I wanted to use matrix.rb, which also requires e2mmap.rb
#I copied the files matrix.rb and e2mmap.rb into C:\RPGMaker\MyGame\Data
class teststuff
require "Data/e2mmap"
require "Data/matrix"
#now I can use stuff from ruby's matrix library, including vectors :D Dunno if there's a better way than require in the code but it works...
end

Original thread: https://forums.rpgmakerweb.com/threads/matrix-vector-support.55440/