Added more parameters. Using trig to figure out bottom plate height.