added ability to calculate from any dimension
readme :heart: