updated cube array with w coordinate vals, added test file, lib file