added flat_ref.p file that contains reference for flat floor optimization
changed back to sin floor