extension on numeric js allowing for greater functionality