updates to math calcs of svg height/width