fixed scaling issue and finding bug so intersection returns correct val